package com.techwells.learningkites.controller;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Map;
import java.util.TreeMap;

import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONObject;

import android.os.Bundle;
import android.os.Handler;
import android.util.Log;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;

import com.techwells.learningkites.R;
import com.techwells.learningkites.model.LoginViewModel;
import com.techwells.learningkites.model.WelcomeViewModel;
import com.techwells.learningkites.networkaccess.KitesRequestUrl;
import com.techwells.learningkites.networkservice.KitesServiceMediator;
import com.techwells.learningkites.networkservice.model.ReturnCode;
import com.techwells.taco.base.CommonBaseActivity;
import com.techwells.taco.mvvm.Route;
import com.techwells.taco.mvvm.ViewModelManager;
import com.techwells.taco.net.HttpConnectionUtils;
import com.techwells.taco.net.HttpHandler;
import com.techwells.taco.tasktool.TaskToken;
import com.techwells.taco.utils.Base64;
import com.techwells.taco.utils.Base64Coder;
import com.techwells.taco.utils.CommonUtil;
import com.techwells.taco.utils.ToastUtils;

public class WelcomeActivity extends CommonBaseActivity implements OnClickListener {
	
	
	
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.activity_welcome);
		
		WelcomeViewModel presentModel = (WelcomeViewModel) ViewModelManager.manager().newViewModel(WelcomeActivity.class.getName());
		setViewModel(presentModel);
		//initTitleBar(R.string.login, defaultLeftClickListener);
		Route.route().nextController(WelcomeActivity.this, LoginActivity.class.getName(), Route.WITHOUT_RESULTCODE);
		finish();
		//initViews();
	}

	private void initViews() {
		
	}

	@Override
	public void onClick(View v) {
		
	}



}
